Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 8 - Light Objects / Light Objects Reference
Light Objects Routines / Managing Lights


Q3Light_SetData

You can use the Q3Light_SetData function to set the basic data associated with a light.

TQ3Status Q3Light_SetData (
TQ3LightObject light, 
const TQ3LightData *lightData);
light
A light object.
lightData
A pointer to a light data structure.
DESCRIPTION
The Q3Light_SetData function sets the data associated with the light specified by the light parameter to the data specified by the lightData parameter.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996